<template>
  <div>
    <ul>
      <li>消息的编号:{{id}}</li>
      <li>消息的标题:{{title}}</li>
      <li>{{id}}</li>
      <li>{{title}}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "Detail",
  props: ['id','title'],
  data() {
    return {};
  },
  components: {},
  computed: {
    // id() {
    //   return this.$route.query.id
    // }, 
    // title() {
    //   return this.$route.query.id
    // },
  },
  mounted() {
      console.log(this.$route);
  },
  methods: {},
};
</script>

<style scoped>
</style>
